When receiving information from other devices
Function:

Description: Determine whether Bluetooth response information from other devices has been received. If no Bluetooth information is received, it will wait continuously until information is received.
Parameter:
- str: data type: string; the specific string to wait for.
Return:
- true: Information successfully received.
- false: Continues waiting if no information is received.